Total Complexity | 97 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 794 |
Lines of code | 477 |
Logical lines of code | 207 |
Comment lines | 153 |
Methods | 30 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process_payment() | 37 | 9 | 86 | |
get_phones() | 50 | 9 | 29 | |
get_order_status() | 53 | 7 | 27 | |
get_address() | 51 | 7 | 25 | |
get_person() | 55 | 7 | 18 | |
get_order_items() | 46 | 5 | 36 | |
capture_order() | 49 | 5 | 33 | |
get_person_by_session() | 56 | 6 | 17 | |
validate_address_fields() | 61 | 4 | 12 | |
validate_document_field() | 62 | 4 | 11 | |
get_transaction_data() | 49 | 2 | 34 | |
handle_failed_status() | 59 | 3 | 15 | |
get_discounts() | 61 | 3 | 12 | |
get_payer_data() | 56 | 2 | 17 | |
get_customer_ip() | 67 | 3 | 9 | |
get_post_vars() | 77 | 3 | 3 | |
get_server_vars() | 77 | 3 | 3 | |
get_store_data() | 62 | 2 | 12 | |
build_request_body() | 55 | 1 | 20 | |
get_customer() | 57 | 1 | 17 | |
save_post_meta() | 70 | 2 | 6 | |
order_failed() | 64 | 1 | 11 | |
get_payment_method() | 100 | 1 | 0 | |
get_custom_gateway_fields() | 100 | 1 | 0 | |
show_thankyou_page() | 100 | 1 | 0 | |
__construct() | 81 | 1 | 3 | |
abort_payment_process() | 68 | 1 | 7 | |
get_webhook_url() | 70 | 1 | 6 | |
get_shipping_data() | 66 | 1 | 8 | |
get_metas() | 100 | 1 | 0 |